<admintpl file="header" />
<body class="J_scroll_fixed">
<div class="wrap J_check_wrap">
<script src="__ROOT__/statics/js/common.js"></script>
<script src="__ROOT__/statics/js/angular/angular.min.js"></script>
<script src="__ROOT__/statics/js/angular/myApp.js"></script>
	<ul class="nav nav-tabs">
		<li class="active"><a href="#">商品类型列表</a></li>
		<li ><a href="{:U('addType')}" >新建商品类型</a></li>
	</ul>
	<div ng-app="myApp" ng-controller="myCtrl">
		<div class="container-fluid">
			<div class="row">
				<table class="table table-striped">
					<thead>
						<tr>
							<th>商品类型名称</th>
							<th>属性分组</th>
							<th>属性数</th>
							<th>状态</th>
							<th>操作</th>
						</tr>
					</thead>
					<tbody>
						<volist name="typelist" id="type">
							<tr>
								<td>{$type.cat_name}</td>
								<td>{$type.attr_group}</td>
								<td></td>
								<td></td>
								<td><a href="{:U('attrlist')}">属性列表</a> | <a href="{:U('editType?cat_id=')}{$type.cat_id}">编辑</a> | <a href="{:U('deleteType?cat_id=')}{$type.cat_id}">删除</a></td>
							</tr>
						</volist>
					</tbody>
				</table>
			</div>
		</div>
	</div>
</body>
</html>
